using NetChinese.Core;
using NetChinese.Services;

namespace NetChinese
{
    /// <summary>
    /// 主程序类
    /// </summary>
    internal class Program
    {
        static async Task Main(string[] args)
        {
            var configManager = new JsonConfigManager();
            var commandExecutor = new CommandLineExecutor();
            var toolManager = new IntelliSenseLocalizerManager(commandExecutor);
            var uiManager = new ConsoleUIManager();
            
            var app = new Application(configManager, toolManager, uiManager, commandExecutor);
            await app.RunAsync();
        }
    }
} 